﻿<%@ page title="" language="C#" masterpagefile="~/Master/MasterPage1.master" autoeventwireup="true" maintainscrollpositiononpostback="true" inherits="ViewAttendanceTracking, App_Web_5fs20d04" %>
<%@ Register assembly="DevExpress.Web.ASPxEditors.v10.2, Version=10.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxEditors" tagprefix="dx" %>

<%@ Register src="UserControls/UCAttendanaceTracking.ascx" tagname="UCAttendanaceTracking" tagprefix="uc1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    <script type="text/javascript" src="Scripts/script.js"></script>
    
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <div style="float:left; width:100%; border-bottom: dashed #94C4DA 1px; margin-top:10px">
    <img src="~/../images/news_top.gif" style="padding-left:5px"/>
    <span style="line-height:20px; font-weight:bold; padding:5px">Chấm công</span>   
    <asp:CustomValidator ID="customValidateDatetimeTracking" runat="server" ErrorMessage="Ngày chọn phải nhỏ hơn hay bằng ngày hiện tại !" 
        onservervalidate="customValidateDatetimeTracking_ServerValidate" 
        ValidationGroup="2" ControlToValidate="dateTracking" ></asp:CustomValidator>     
</div>
<div style="width:100%; float:left;" align="center">
    <div style="clear:both; height:20px"></div>
    <table style="font-size:13px; font-family:Arial, Helvetica, sans-serif; width:80%">
	    <tr>
            <td align="right" width="20%">Supervisor:</td>
            <td>
                <asp:DropDownList ID="cboSupervisor" Width="200px" runat="server"></asp:DropDownList>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                    ControlToValidate="cboSupervisor" ErrorMessage="*" 
                    InitialValue=" " ValidationGroup="2"></asp:RequiredFieldValidator>
            </td>
            <td align="right" style="padding-left:20px">Ngày tháng:
            </td>
            <td>
                <dx:ASPxDateEdit ID="dateTracking" runat="server" 
                    Width="200px" AllowNull="false" 
                    DisplayFormatString="dd/MM/yyyy" EditFormatString="dd/MM/yyyy">
                </dx:ASPxDateEdit>
            </td>
            <td colspan="4" align="right">
                <asp:Button ID="btnViewAttendanceTracking" runat="server" Text="Thực hiện"
                    onclick="btnViewAttendanceTracking_Click" ValidationGroup="2" />
            </td>
        </tr>
    </table>
</div>
<div>
    <asp:PlaceHolder ID="pldAttendanceTracking" runat="server">
        <uc1:UCAttendanaceTracking ID="UCAttendanaceTracking1" runat="server" />
    </asp:PlaceHolder>
    
</div>
</asp:Content>

